home *** CD-ROM | disk | FTP | other *** search
/ Ultimate Civil War Colle…welve Roads to Gettysburg / Ultimate Civil War Collection (Twelve Roads to Gettysburg)(H-Bar Enterprises)(1994).iso / pc / setup.inf < prev   
Text File  |  1994-10-06  |  2KB  |  63 lines

  1. ;
  2. ; Setup for "Twelve Roads to Gettysburg"
  3. ;
  4. SetVariable (TitleName, "Twelve Roads to Gettysburg")
  5. GetCurPath (ViewerSrcDir)        ; Source directory of the Viewer
  6.  
  7. ;
  8. ; Set the title of all dialog windows.
  9. ;
  10. WindowTitle (<TitleName> " Setup")
  11.  
  12. ;
  13. ; Begin adding Progam Manager groups
  14. ;
  15. OpenProgmanProgress (
  16.     "Setup is adding Program Manager groups.",
  17.     "Please wait while Setup adds {\b Program Manager} groups".)
  18.  
  19.     ;;
  20.     ;; OpenProgmanGroup (Group[,  DeleteFlag])
  21.     ;; ---------------------------------------
  22.     ;; This command will set up a DDE conversation with the Program 
  23.     ;; Manager and open the program group entitled 'Group'.  If the 
  24.     ;; optional string 'Delete' is specified and is equal to "Delete", 
  25.     ;; then the specified group will be deleted if it exists, before it is
  26.     ;; created.  Normally this Delete flag is specified to create a new 
  27.     ;; program group, and is omitted to add to an existing group. 
  28.     ;; 
  29.     ;; The progress bar will display the words "Opening" followed by the
  30.     ;; name of the ProgMan group.  If OpenProgmanGroup fails then no error
  31.     ;; is reported.
  32.     ;;
  33.  
  34. ; Add a specific Program Manager group.
  35. ;
  36. OpenProgmanGroup (<TitleName>, Delete)    ;; Add the group named after the title
  37.  
  38.     ;;
  39.     ;; AddProgmanItem (Item, Command, IconFile, IconNumber)
  40.     ;; ----------------------------------------------------
  41.     ;; This command will add a new icon to the Program Manager group 
  42.     ;; opened by OpenProgmanGroup.  The icon will have the title 'Item',
  43.     ;; the command string 'Command', the icon file 'IconFile' and the
  44.     ;; 0-based icon index within the icon file 'IconNumber'.  Variables
  45.     ;; can be used to specify a complete path for the command and icon
  46.     ;; files that are dependent on the user's path choices.
  47.     ;;
  48.     ;; The progress bar will display the words "Adding" followed by the 
  49.     ;; item name.  If AddProgramItem fails then no error is reported.
  50.     ;;
  51.  
  52. AddProgmanItem (<TitleName>, <ViewerSrcDir>"getty\Intro.exe Getty.exe",
  53.     <ViewerSrcDir>"getty\TDC.ICO",0)
  54.  
  55.     ;;
  56.     ;; CloseProgmanProgress ()
  57.     ;; -----------------------
  58.     ;; This command closes the ProgMan DDE conversation.
  59.     ;;
  60.  
  61. CloseProgmanProgress ()
  62. End:
  63.